]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Use microseconds for notify_keyval()
authorSebastian Keller <skeller@gnome.org>
Thu, 22 Jul 2021 15:24:30 +0000 (17:24 +0200)
committerMarge Bot <marge-bot@gnome.org>
Thu, 29 Jul 2021 20:18:51 +0000 (20:18 +0000)
commitbb8daaeb2f1f1e0d11c0221e665dca2e892da22d
tree1baba8a5dc0ff039ea1b11dd406981e98b35b40b
parent8edd6aef640cdd05c87b09e405eb0ce4b5397611
keyboard: Use microseconds for notify_keyval()

ClutterVirtualInputDevice::notify_keyval() expects time to be in
microseconds but Clutter::get_current_event_time() returns the time in
milliseconds. On Wayland the generated event triggers all the warnings
in MetaDisplay::sanity_check_timestamps() due to the event time
seemingly being in the past.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1926>
js/ui/keyboard.js